package org.yzh.commons.util;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * @author hy
 * @classname PageVo
 * @description 统一的分页参数
 * @date 2023/6/20 9:50
 */
@Data
public class PageVo implements Serializable {
    @Schema(description = "分页 默认1")
    private final Integer pageNum = 1;

    @Schema(description = "分页大小 默认10")
    private final Integer pageSize = 10;
}
